<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Application failed!</title>
</head>
<body>
<h1>The application has encounter an error and cannot work as expected!</h1>
<h3>Please check your configuration, environment or contact the developer.</h3>
<p>Error details:</p>
<p>${exception.message}</p>
<pre>
<jsp:scriptlet>
  ((Exception)request.getAttribute("exception"))
  		.printStackTrace(new java.io.PrintWriter(out));
</jsp:scriptlet>
</pre>
</body>
</html>